//
//  SDAlertActionModel.h
//  SDAlertView
//
//  Created by sander on 2017/10/24.
//

#import <Foundation/Foundation.h>
#import "SDCompositeService.h"

@interface SDAlertActionModel : NSObject
@property (nonatomic, copy) SDActionButtonBlock actionBlock;

@property (nonatomic, strong) NSAttributedString * alert_string;

@property (nonatomic, weak) UIViewController * targetController;

@property (nonatomic, assign) BOOL isSelected;

- (instancetype)initWithTitle:(NSAttributedString * )title andActionBlock:(SDActionButtonBlock)block;

- (void)dismissViewController;

@end
